package com.validation.exception;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 数据校验异常
 */
@Slf4j
public class ValidationException extends RuntimeException{


    public ValidationException(String msg) {
        super(msg);
        log.error(msg);
    }
}
